package pandabay2.domain;

import java.util.List;

//Data Encapsulation using Getters and Setters
public class User {
	private int user_id;
	private String email;
	private String password;
	private String firstName;
	private String lastName;
	private String street;
	private int plz;
	private String city;
	public boolean valid;
	private String role;
	private List<Integer> rating;

	public int getUser_id() {
		return user_id;
	}
	public void setUser_id(int user_id) {
		this.user_id = user_id;
	}
	public String getFirstName()
	{
		return firstName;
	}
	public void setFirstName(String newFirstName)
	{
		firstName = newFirstName;
	}
	public String getLastName()
	{
		return lastName;
	}
	public void setLastName(String newLastName)
	{
		lastName = newLastName;
	}
	public String getPassword()
	{
		return password;
	}
	public void setPassword(String newPassword)
	{
		password = newPassword;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getStreet() {
		return street;
	}
	public void setStreet(String street) {
		this.street = street;
	}
	public int getPlz() {
		return plz;
	}
	public void setPlz(int plz) {
		this.plz = plz;
	}
	public String getCity() {
		return city;
	}
	public void setCity(String city) {
		this.city = city;
	}
	public boolean isValid()
	{
		return valid;
	}
	public void setValid(boolean newValid)
	{
		valid = newValid;
	}
	public String getRole() {
		return role;
	}
	public void setRole(String role) {
		this.role = role;
	}
	public List<Integer> getRating() {
		return rating;
	}
	public void setRating(List<Integer> rating) {
		this.rating = rating;
	}
}